package com.scors.logos.jpa;

import com.scors.logos.model.User;

public interface IUserDao extends PersistenceJPAGeneric<User> {

    /**
     * Find a UserImpl by fullname
     * 
     * @param fullname
     * @return the found UserImpl
     */
    public User findByFullname(String fullname);

    /**
     * Find a UserImpl by login
     * 
     * @param login
     * @return the found UserImpl
     */
    public User findByLogin(String login);

    public String findFriendByLogin(String login);
}
